Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Export CSV

That is not hard at all.

Get the view using the GetView method of the NotesDatabase class.
Then use either the AllEntries method or the GetAllEntriesByKey method of the NotesView class to get the documents you want to export.

Use GetFirtsEntry/GetNextEntry methods to loop through the collection and get each NotesViewEntry.
You use the ColumnValues method of the NotesViewEntry to get the column values.
Now you just write it to a text file in CSV format.

Really nothing different that what you would do in Lotusscript, except that you use Java.
You could take a look at this blog entry that I posted a little while ago: http://blog.texasswede.com/export-notes-view-to-excel-with-multi-value-fields/


Feedback response number WEBB99JK7E created by ~Dan Kikiterobu on 07/12/2013

Export data from a view to excel fi... (~Lorraine Umfoo... 12.Jul.13)
. . Export CSV (~Dan Kikiterobu... 12.Jul.13)
. . Export data from a view to excel fi... (~Judy Elhipipul... 16.Jul.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS